package com.smile.model;

public class ReceiveString {
	private int code;
	private int type;
	private String json;
	
	public ReceiveString(int code, int type, String json) {
		super();
		this.code = code;
		this.type = type;
		this.json = json;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getJson() {
		return json;
	}

	public void setJson(String json) {
		this.json = json;
	}
	
	@Override
	public String toString() {
		
		StringBuilder returnString = new StringBuilder();
		returnString.append("code:" + code + "\n");
		returnString.append("type:" + type + "\n");
		returnString.append("json:" + json + "\n");
		
		return returnString.toString();
	}
	
}
